<!-- 基本信息 -->
<template>
  <div class="baseinfo">
    <el-form label-width="100px" size="mini">
      <el-row>
        <el-col :span="6">
          <el-form-item label="生产工单编号">
            {{data.taskCode}}
          </el-form-item>
          <el-form-item label="产品名称">
            {{data.itemName}}
          </el-form-item>
          <el-form-item label="单位">
            {{data.unitOfMeasure}}
          </el-form-item>
          <el-form-item label="客户信息">
            {{data.clientName}}
          </el-form-item>
          <el-form-item label="备注">
            {{data.remark}}
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label="生产工单名称">
            {{data.taskName}}
          </el-form-item>
          <el-form-item label="产品编号">
            {{data.itemCode}}
          </el-form-item>
          <el-form-item label="计划数量">
            {{data.quantity}}
          </el-form-item>
          <el-form-item label="产品描述">
            {{data.cliProDesc}}
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label="关联单据名称">
            {{data.workorderName}}
          </el-form-item>
          <el-form-item label="规格型号">
            {{data.specification}}
          </el-form-item>
          <el-form-item label="开工时间">
            {{data.actualStartTime}}
          </el-form-item>
          <el-form-item label="包装描述">
            {{data.pkDesc}}
          </el-form-item>
        </el-col>
        <el-col :span="6">
          <el-form-item label="关联单据编码">
            {{data.workorderCode}}
          </el-form-item>
          <el-form-item label="BOM">
            <!-- {{data.itemTypeName}} -->
          </el-form-item>
          <el-form-item label="完工时间">
            {{data.actualEndTime}}
          </el-form-item>
          <el-form-item label="联络人">
            {{data.bizUser}}
          </el-form-item>
        </el-col>
      </el-row>
    </el-form>
  </div>
</template>

<script>
  export default {
    name: 'BaseInfo',
    props: {
      data: undefined
    },
    dicts:['mes_workorder_type'],
    data() {
      return {

      }
    },
    created() {
      console.log('baseinfo created');
    },
    methods: {

    }
  }
</script>

<style lang="scss" scoped>

</style>